//
//  LSZRequestData.m
//  JK九酷云头条
//
//  Created by 九酷 on 2017/11/6.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZRequestData.h"

@implementation LSZRequestData
#pragma mark - 注册发送验证码
+(void)initregistrationSendVerificationCode:(NSDictionary *)dic url:(NSString *)url :(HTTPSData)block
{
     [LSZRequestTotal initWithPostRequest:url :dic :^(BOOL isOK, NSString * str, NSDictionary * dic) {
        if (isOK == YES) {
            NSString * status = [NSString stringWithFormat:@"%@",dic[@"status"]];
            NSString * msg = [NSString stringWithFormat:@"%@",dic[@"msg"]];
            if ([status isEqualToString:@"1"]) {
                block(YES,OK,dic);
            }else{
                block(NO,msg,dic);
            }
        }else{
            block(NO,str,nil);
        }
    }];
}
@end
